import request from "@/request/";

// 物料检验标准列表
export const getList = (data) => {
  return request({
    url: "/api/mes-warehouse-service/inv-trans/page",
    method: "POST",
    data,
  });
};

export const getDetailList = (data) => {
  return request({
    url: "/api/mes-warehouse-service/inv-trans/detail/page",
    method: "POST",
    data,
  });
};

// 导出
export const exportTableData = (data) => {
  return request({
    url: `/api/mes-warehouse-service/inv-trans/export`,
    method: "POST",
    responseType: "blob",
    timeout: 300000,
    data: data,
  });
};
